package com.rockpaperscissorlhh.result;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.ToString;

@AllArgsConstructor
@Data
@ToString
public class Result {
    private Integer personwin;
    private Integer personlosses;
    private Integer draws;
    private Integer computerwin;
    private Integer computerlosses;

    //利用构造函数初始化为0
    public Result() {
        this.personwin=0;
        this.personlosses=0;
        this.computerwin=0;
        this.computerlosses=0;
        this.draws=0;
    }
}


